home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / PROGRAMM / PROGEDIT / H448.ZIP / AURORA.ZIP / AREF.DOC < prev    next >
Text File  |  1993-10-06  |  18KB  |  401 lines

  1.  
  2.  
  3.   T h e   A u r o r a   E d i t o r   Q u i c k   R e f e r e n c e
  4.   ─────────────────────────────────────────────────────────────────
  5.  
  6.   This Quick Reference briefly summarizes all The Aurora Editor library
  7.   functions documented in The Aurora Editor Users Guide (A.DOC). For
  8.   documentation on native macro language functions, see "The Aurora
  9.   Macro Language Guide".
  10.  
  11.   Library functions are listed by category. Each library function is
  12.   followed by the default key definition (if any), and a brief
  13.   description. User-specified arguments to library functions are
  14.   enclosed in [bracket] characters.
  15.  
  16.  
  17.   File
  18.   ────
  19.  
  20.     newf                   <Ctrl-N>          new edit window
  21.     askopen                <Alt-E>           open prompt
  22.     askopenins             <Alt-I>           insert file prompt
  23.     askopenb                                 open binary prompt
  24.     openlast               <Alt-Z>           open last window
  25.     wrdlod CSetB           <Ctrl-]>          open file at cursor
  26.     refresh                                  refresh file from disk
  27.     askname                <Alt-N>           rename prompt
  28.     name  [filename]                         rename filename
  29.     open [filespec] [options]                open filename/directory
  30.     opena [filename]                         open a .A file
  31.     save                   <F3>              save current file
  32.     save [filename]                          save filename
  33.     asksaveas                                save-as prompt
  34.  
  35.     fmgr                   <F4>              display file manager
  36.  
  37.     quit %p                                  close file & window
  38.     gquit %p               <Alt-X>           close all windows
  39.     quit %f                                  save file and close window
  40.     gquit %f                                 save file and close all windows
  41.  
  42.     wquit %p               <Ctrl-K-Q>        close window
  43.     fquit %p               <Alt-Q>           close file
  44.     fquit %f               <Ctrl-X>          save and close file
  45.  
  46.     fnex                   <Ctrl-Del>        next file
  47.     fpre                   <Ctrl-Ins>        prev file
  48.     flis                   <Ctrl-(-)>        display file list
  49.  
  50.     about                                    display about box
  51.  
  52.     hlp [major] [minor]                      display User's Guide
  53.     qref                   <Shift-F1>        display Quick Reference
  54.  
  55.  
  56.   Window
  57.   ──────
  58.  
  59.     wlis                   <Alt-W>           display window list
  60.     wres                                     restore window
  61.     wkey                   <Ctrl-F5>         move/size window
  62.     wkey %p                <Ctrl-F6>         pan video background
  63.     wmin                                     minimize window
  64.     wmax                   <Ctrl-Z>          maximize window
  65.     wnex                   <Ctrl-A>          next window
  66.     wpre                                     prev window
  67.  
  68.     wcopy                  <Ctrl-C>          copy window
  69.     wspl %h                <Alt-H>           split window horizontal
  70.     wspl %v                <Alt-V>           split window vertical
  71.  
  72.     wcasc                  <Shift-F5>        cascade windows
  73.     wtileh                 <Shift-F4>        tile windows horizontally
  74.     wtilev                 <Shift-F3>        tile windows vertically
  75.  
  76.     wtool                  <Ctrl-F8>         display tool bar
  77.     winsty                 <Ctrl-F7>         change window style
  78.     wppt                                     change prompt style
  79.  
  80.     wrtv %p                <cursorup>        retrieve prev prompt
  81.     wrtv %n                <cursordown>      retrieve next prompt
  82.  
  83.  
  84.   Menu
  85.   ────
  86.  
  87.     menb                   <Esc>, <F10>      to last menu bar item
  88.     men                    <Alt-F10>         to last pull-down menu
  89.     menh                   <F1>              help pull-down
  90.     men2                   <Alt-T>           to last tool bar control
  91.     mens [submenu]                           display submenu
  92.  
  93.  
  94.   Cursor Movement
  95.   ───────────────
  96.  
  97.     left                   <cursorleft>      move cursor left
  98.     right                  <cursorright>     move cursor right
  99.     up                     <cursorup>        move cursor up
  100.     down                   <cursordown>      move cursor down
  101.  
  102.     cptop                  <Ctrl-Home>       to page top
  103.     cpbot                  <Ctrl-End>        to page bottom
  104.     cgoto @ 1              <Ctrl-PgUp>       to file top
  105.     cgoto @ (qtexend)      <Ctrl-PgDn>       to file bottom
  106.     cgoto [x] [y]                            to [x], [y] (abs or rel)
  107.  
  108.     chome                  <Home>            to column one
  109.     ceol                   <End>             to end of line
  110.     clast                  <Ctrl-Hyphen>     to last cursor position
  111.     ctab                   <Tab>             tab right
  112.     ctab %l                <Shift-Tab>       tab left
  113.     cwrd %r CSet           <Ctrl-Left>       find left word
  114.     cwrd  @ CSet           <Ctrl-Right>      find right word
  115.  
  116.     ladj @ -1              <Keypad-5>        center cursor
  117.     ladj @  1              <Ctrl-F9>         scroll to page top
  118.     ladj @ (qwinp @ %y1d)  <Ctrl-F10>        scroll to page bottom
  119.  
  120.     askbset                                  set bookmark prompt
  121.     bset                   <Ctrl-2>          quick bookmark
  122.     bset [bookmark]                          set bookmark
  123.     askbget                                  go to bookmark prompt
  124.     bget                   <Ctrl-6>          to previous bookmark
  125.     bget [bookmark]                          go to bookmark
  126.  
  127.     askglin                <Ctrl-J>          go to line prompt
  128.     glin [line]                              go to line
  129.     askgcol                                  go to column prompt
  130.     gcol [column]                            go to column
  131.     mloc @ %t              <Ctrl-B>          find top of block
  132.     mloc @ %b                                find bottom of block
  133.     cfld                   <Alt-7>           go to next fold
  134.     cfld %r                                  go to prev fold
  135.  
  136.     finm                   <Alt-F3>          find matching char
  137.     finc                   <Alt-F7>          go to compiler error
  138.  
  139.  
  140.   Scrolling
  141.   ─────────
  142.  
  143.     scry (- (ypagsiz))     <PgUp>            scroll up
  144.     scry (ypagsiz)         <PgDn>            scroll down
  145.     scry (- (/ (ypagsiz) 2))                 scroll up 1/2 page
  146.     scry (/ (ypagsiz) 2)                     scroll down 1/2 page
  147.     scry -1                <Ctrl-Up>         scroll up one line
  148.     scry  1                <Ctrl-Down>       scroll down one line
  149.  
  150.     scrx (- (xpagsiz))     <F7>              scroll left
  151.     scrx (xpagsiz))        <F8>              scroll right
  152.  
  153.  
  154.   Modifying Text
  155.   ──────────────
  156.  
  157.     cmtog                  <Ins>             toggle insert mode
  158.     enteredit              <Enter>           enter key
  159.     delch                  <Del>             delete character
  160.     baksp                  <Backspace>       delete left character
  161.  
  162.     undo                   <Ctrl-U>          undo last change
  163.     undo %r                <Ctrl-Y>          redo last change
  164.  
  165.     lins %a                <Ctrl-Enter>      insert line w/autoindent
  166.     lins %c                                  insert line
  167.     ldel                   <Ctrl-Backspace>  delete line
  168.     lspl                   <Alt-S>           split line
  169.     ljoin                  <Alt-J>           join line
  170.  
  171.     leol                   <F6>              erase to end of line
  172.     leol %l                <Alt-F6>          erase to beginning of line
  173.     wrddel CSet            <Ctrl-T>          delete right word
  174.     wrdcas [options] [CSet]                  change case of a word
  175.     ldup                   <Alt-4>           duplicate line
  176.     lswp                   <Alt-5>           swap line
  177.     lcen                   <Alt-6>           center line
  178.  
  179.     lcom                   <Alt-F1>          comment/uncomment line (//)
  180.     lcom [string1] [string2]                 comment/uncomment line
  181.     lit                    <Ctrl-[>          enter literal character
  182.     wasc                   <Alt-=>           display ascii chart
  183.     txt [string]                             enter a string at the cursor
  184.     stamp                  <Ctrl-K-T>        date/time stamp
  185.     exptab                 <Ctrl-K-X>        expand tabs
  186.  
  187.  
  188.   OS Commands
  189.   ───────────
  190.  
  191.     askoscmd %ck           <Alt-F9>          DOS command prompt
  192.     os [cmd] [options]                       execute DOS command
  193.     askoscap               <Alt-F8>          DOS capture prompt
  194.     oscap [cmd] [options]                    capture DOS command output
  195.     osshell                <F9>              exit to DOS
  196.  
  197.  
  198.   Marking
  199.   ───────
  200.  
  201.     mset %l                <Alt-L>           mark line
  202.     mset %r                <Alt-B>           mark column
  203.     mset %s                <Alt-A>           mark character
  204.     wrdmrk CSet            <Alt-1>           mark word
  205.     meol                   <Alt-2>           mark to end of line
  206.     mpgh %tb               <Alt-3>           mark paragraph
  207.  
  208.     mdes                   <Alt-U>           unmark
  209.  
  210.  
  211.   Block
  212.   ─────
  213.  
  214.     mcpy                   <Alt-C>           copy block
  215.     mcpyp                  <Alt-C>           copy block to prompt
  216.     mmov %o                <Alt-O>           overlay block
  217.     mmov                   <Alt-M>           move block
  218.     mmov %of               <Ctrl-M>          move block over
  219.     mdel                   <Alt-D>           delete block
  220.     mshf  1                <Shift-F8>        indent block
  221.     mshf -1                <Shift-F7>        unindent block
  222.  
  223.     askmfill               <Ctrl-K-F>        fill block prompt
  224.     mrfl %b                <Alt-R>           reflow block
  225.     mrfl %br               <Alt-Y>           reflow & right justify block
  226.     msave                  <Ctrl-K-S>        save block
  227.     msrt                   <Ctrl-K-O>        sort block
  228.     mcase %l                                 change block to lower case
  229.     mcase %u               <Ctrl-K-U>        change block to upper case
  230.     mcase %ul                                flip case of block
  231.  
  232.     mjust %l                                 left justify block
  233.     mjust %c               <Ctrl-K-C>        center block
  234.     mjust %r                                 right justify block
  235.  
  236.     print %m               <Alt-P>           print block
  237.  
  238.  
  239.   Clipboard
  240.   ─────────
  241.  
  242.     clpcpy %d              <Grey->           cut
  243.     clpcpy %ad             <Ctrl-Grey->      cut append
  244.     clpcpy                 <Grey+>           copy
  245.     clpcpy %a              <Ctrl-Grey+>      copy append
  246.  
  247.     clppst                 <Grey*>           paste
  248.     clppst %o              <Ctrl-Grey*>      paste over
  249.  
  250.     clpclr                 <Ctrl-Grey/>      clear clipboard
  251.     askclp                                   clipboard name prompt
  252.  
  253.  
  254.   Folding
  255.   ───────
  256.  
  257.     lfld %b                <Alt-8>           fold next line
  258.     lfld %t                                  fold prev line
  259.  
  260.     mfld %f                <Alt-F>           fold block
  261.     mfld %uaf                                fold block flat
  262.  
  263.     lfld %u                <Alt-G>           unfold line
  264.     lfld %ua                                 unfold line flat
  265.     lfld %bs               <Alt-9>           unfold next line
  266.     lfld %ts                                 unfold prev line
  267.  
  268.     mfld %u                                  unfold block
  269.     mfld %ua                                 unfold block flat
  270.     mflda %ua              <Alt-0>           unfold all
  271.  
  272.  
  273.   Search and Replace
  274.   ──────────────────
  275.  
  276.     askfind                <Ctrl-F>, <F5>    find prompt
  277.     askrpl                 <Ctrl-G>          replace prompt
  278.     search [string]                          find/replace
  279.     finl                   <Ctrl-L>          do last find/replace
  280.     askscan                <Ctrl-S>          scan prompt
  281.  
  282.  
  283.   Printing
  284.   ────────
  285.  
  286.     print                  <Ctrl-P>          print
  287.     print %d               <Ctrl-P>          print file mgr contents
  288.     print %m               <Alt-P>           print block
  289.     prtstr [string]                          print string
  290.     askprtset                                print settings prompt
  291.  
  292.     prtfil [filename]                        print filename
  293.  
  294.  
  295.   Settings
  296.   ────────
  297.  
  298.     wmwrap                 <Ctrl-W>          word wrap toggle
  299.     wmautoi                                  autoindent toggle
  300.     wmvtab                                   variable tabs toggle
  301.     wmsmtab                                  smart tabs toggle
  302.     wmmat                                    match character toggle
  303.     wmbak                                    file backup toggle
  304.     wmdraw                 <Ctrl-D>          line draw toggle
  305.     sdraws [0/1/2/3/4]                       line draw style
  306.  
  307.     asktabw                                  tab width prompt
  308.     asktabv                                  variable tabs prompt
  309.     asklmrg                                  left margin prompt
  310.     askrmrg                                  right margin prompt
  311.     askind                                   paragraph indent prompt
  312.     askdefx                                  file extensions prompt
  313.     askbin                                   binary line length prompt
  314.     askdlm                                   line delimiter prompt
  315.  
  316.     vfont %t               <Ctrl-F1>         toggle video mode
  317.     vfont [columns] [rows]                   change video mode
  318.  
  319.     setsav                                   save current settings
  320.     setres                                   restore settings
  321.  
  322.  
  323.   Key Macros
  324.   ──────────
  325.  
  326.     krec                   <Ctrl-R>          record key macro toggle
  327.     kplay                  <Ctrl-E>          play scrap key macro
  328.     kdel                   <Ctrl-I>          erase scrap key macro
  329.     kdel %a                                  erase all key macros
  330.     askkopen                                 key macro open prompt
  331.     kopen [filename]                         open key macro file
  332.     askksav                                  key macro save prompt
  333.     ksav [filename]                          save key macros to filename
  334.     kcat                                     assign scrap key macro to key
  335.  
  336.  
  337.   Macros
  338.   ──────
  339.  
  340.     opena %acfg                              display configuration (ACFG.A)
  341.     opena %akbd                              display key defs (AKBD.A)
  342.     opena %amen                              display menu defs (AMEN.A)
  343.  
  344.     askmcmd                <Ctrl-V>          macro command prompt
  345.     askmrun                                  run macro prompt
  346.     askminc                                  include macro prompt
  347.     askmcom                                  compile macro prompt
  348.  
  349.     mcmd [expression]                        evaluate macro expression
  350.     mrun [filename]                          evaluate macro file
  351.     minc [filename]                          include macro file
  352.     mcom [filename]                          compile macro file
  353.  
  354.  
  355.   Miscellaneous Functions
  356.   ───────────────────────
  357.  
  358.     say [message] [options]                  display message on title bar
  359.     mbox [title] [message] [options]         display message box
  360.     ask [prompt] [title] [width]             user prompt for string
  361.     askbox [title] [options]                 menu box prompt
  362.     keyx [key prefix]                        define compound key prefix
  363.     dn                                       get fmgr filename at cursor
  364.  
  365.     moubegmrk [x] [y] [options]              begin mouse mark
  366.     moumovmrk [x] [y]                        extend mouse mark
  367.     mouendmrk [x] [y]                        end mouse mark
  368.  
  369.     winsizt [l] [t] [r] [b] [reps] [options]  resize current window
  370.     qwinmin                                  test if window is minimized
  371.     qwinmax                                  test if window is maximized
  372.     qtimdat                                  return date/time
  373.  
  374.  
  375.   File Manager
  376.   ────────────
  377.  
  378.     fpar                   <Ctrl-Backspace>  parent directory
  379.     fopen                  <Enter>,<e>,<o>,<z>  open file/directory
  380.     fopen %b               <b>               open binary file
  381.     fopenk                 <k>               open key macro file
  382.     fmov                   <m>               move file
  383.     fcpy                   <c>               copy file
  384.     fdel                   <d>, <Del>        delete file
  385.     fren                   <n>               rename file
  386.     frun %c                <r>               run program/batch file
  387.     fprt                   <p>               print file
  388.     fatt                   <a>               change file attributes
  389.     ftch                   <t>               touch file
  390.     fcred                                    create new directory
  391.  
  392.     fmtog                  <Space Bar>       mark/unmark file
  393.     fmrk                   <Alt-M>           mark all files
  394.     fumrk                  <Alt-U>           unmark all
  395.  
  396.     fsrt %n                <Alt-N>           sort by name
  397.     fsrt %s                <Alt-S>           sort by size
  398.     fsrt %d                <Alt-D>           sort by date
  399.     fsrt %o                <Alt-O>           no sort (DOS order)
  400.  
  401.